package edu.mju.Reflect;

public class PersonServiceImpl2 {
	private String name;
	private Integer age;
	private String sex;
	
	public PersonServiceImpl2() {
	}
	
	public PersonServiceImpl2(String name, Integer age) {
		this.name = name;
		this.age = age;
	}
	
	public void sayHello() {
		System.out.println("Hello," + name + "!Your age:" + age);
	}

	public void info(String sex) {
		this.sex = sex;
		System.out.println("性别：" + sex);
	}
}
